package com.ljw.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @Author: lijunwei
 * @Time: 2019/8/25 19:52
 */
@Configuration
@ComponentScan("com.ljw")
//proxyTargetClass = true开启cglib代理    proxyTargetClass默认为false 开启jdk动态代理
//如果没有接口,即使proxyTargetClass=false ,则还是会使用cglib代理
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class AppConfig {
}
